home *** CD-ROM | disk | FTP | other *** search
/ Merciful 1 / Merciful - Disc 1.iso / software / p / power_base / powerbasev3.4a.dms / in.adf / c / install_hd < prev    next >
Encoding:
Text File  |  1993-08-18  |  2.0 KB  |  67 lines

  1. .k hddir
  2. IF "<hddir>" EQ ""
  3.   install_hd dh0:PBase
  4.   quit
  5. ENDIF
  6. echo ""
  7. echo "This will install PowerBase where you choose on your hard drive."
  8. echo "*nYou are allowed to install it on your hard drive subject to the*nfollowing conditions:"
  9. echo "1. The hard drive copy is permanently removed when you dispose of your"
  10. echo "   original PowerBase disk."
  11. echo "2. If you sell or otherwise dispose of your hard drive, you must first"
  12. echo "   permanently remove the hard drive copy of PowerBase."
  13. echo "*nIf you do not accept these conditions, or no longer wish to install"
  14. echo "PowerBase on your hard drive, type N and Return now.*n"
  15. ask "Do you wish to continue with the installation? (y/n)"
  16. if not warn
  17.    echo "PowerBase installation aborted."
  18.    quit
  19. endif
  20.  
  21. assign env: ram:
  22. delete >nil: env:pbase quiet
  23.  
  24. If not exists <hddir>
  25.    makedir <hddir>
  26.    if not exists <hddir>
  27.       echo "Installation failed -- cannot create destination directory"
  28.       quit
  29.    endif
  30. endif
  31. if not exists <hddir>.info
  32.    copy powerbase:drawer.icon <hddir>.info
  33. endif
  34.  
  35. cd <hddir>
  36. echo ""
  37. echo "The installation shall now begin."
  38. echo ""
  39. echo "   PLEASE WAIT ... copying files"
  40. copy powerbase:c/mmpp dh0:c
  41. copy powerbase:c/cls dh0:c
  42. copy powerbase:PB.hd PowerBaseV3.4
  43. copy powerbase:PB.hd.icon PowerBaseV3.4.info
  44. copy powerbase:PowerBasev3.4 PBasev3.4.prog
  45. copy powerbase:Instructions ""
  46. copy powerbase:Instructions.info ""
  47. copy powerbase:About-new-version ""
  48. copy powerbase:About-new-version.info ""
  49. copy powerbase:Program-history ""
  50. copy powerbase:Program-history.info ""
  51. copy powerbase:fsu3 ""
  52. copy powerbase:powerbase to powerbase all quiet
  53. copy powerbase:prefs to Prefs all quiet
  54. copy powerbase:utilities to Utilities all quiet
  55. copy powerbase:Prefs.info ""
  56. copy powerbase:Utilities.info ""
  57. copy powerbase:Shell ""
  58. copy powerbase:Shell.info ""
  59. copy powerbase:.info ""
  60. echo ""
  61. echo " INSTALLATION COMPLETE!"
  62. echo ""
  63. echo " Now remove the PowerBase disk and boot from your hard drive"
  64. echo ""
  65. ask " -- Press [Return] for workbench -- "
  66. endcli
  67.